home *** CD-ROM | disk | FTP | other *** search
- failat 21
-
- echo "*e[1;1H*e[J"
- echo "*e[0;1mHandyDMS install-script V1.1"
- echo "*n*e[0mThis script will install HandyDMS in a path of your wish."
-
- Version >NIL: exec.library 37
- if warn
- echo "*nYou need at least Kickstart 2.0!"
- skip abort
- endif
-
- echo noline "*nReally install HandyDMS? "
-
- set input "n"
- set >NIL: input ?
-
- if $input eq "yes"
- skip start
- endif
-
- if $input eq "y"
- skip start
- endif
-
- if $input eq "ja"
- skip start
- endif
-
- if $input eq "j"
- skip start
- endif
-
- skip abort
-
- Lab start
- echo "*nEnter the path where you want HandyDMS to be installed."
- echo "The path must end with '/' or ':' !*n"
-
- lab Enterpath
- echo noline "Enter path: "
- set Path "[blank]"
- set >NIL: Path ?
- if not exists $Path
- echo "*n*e[3mInvalid path! '$Path' does not exist!*e[0m*n"
- skip back Enterpath
- endif
-
- echo NOLINE "*nInstalling HandyDMS-mainfiles to '$Path'..."
- Copy HandyDMS to $Path >NIL:
-
- if warn
- echo "*n*e[32mAn error occured! Please check diskspace!*e[0m"
- skip abort
- endif
-
- Copy HandyDMS.info to $Path >NIL:
-
- if warn
- echo "*n*e[32mAn error occured! Please check diskspace!*e[0m"
- skip abort
- else
- echo "done!*n"
- endif
-
- Version >NIL: reqtools.library 38
- if warn
- echo NOLINE "*nInstalling reqtools.library V38 to 'LIBS:'..."
- copy libs ALL to LIBS: >NIL:
- if warn
- echo "*n*e[32mAn error occured! Please check diskspace!*e[0m"
- skip abort
- endif
- echo "done!*n"
- else
- echo "Reqtools.library V38 is already installed!"
- endif
-
- echo "*n*e[32mInstallation complete!*e[0m*n"
- Wait 3
- quit
-
- Lab abort
- echo "*nInstallation aborted...*n"
- Wait 3
- quit
-